package com.why.blog.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.why.blog.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author TriggerWu
 * @since 2019-04-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class HaloPost extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "post_id",type = IdType.UUID)
    private String postId;

    private Integer allowComment;

    private String customTpl;

    private String postContent;

    private String postContentMd;

    private Long postDate;

    private String postPassword;

    private Integer postStatus;

    private String postSummary;

    private String postThumbnail;

    private String postTitle;

    private String postType;

    private Long postUpdate;

    private String postUrl;

    private Long postViews;

    private String userId;

    @TableLogic
    private Integer logicDel = 0;

}
